﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>

@model IEnumerable<PessModel.County>

@{
    ViewBag.Title = "Index";
}

<div id="m-title">
    <h2>区县</h2>
    <div id="m-op">
        @Html.ActionLink("新建", "Create")&#8195;@Html.ActionLink("返回", "SystemSettings", "Home")
    </div>
</div>

<div class="displayConScroe">
<table>
    <tr>
        <th>
            @*@Html.DisplayNameFor(model => model.Name)*@名字
        </th>
        <th>
            @*@Html.DisplayNameFor(model => model.Code)*@代码
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Code)
        </td>
        <td class="thAction2">
            @Html.ActionLink("编辑", "Edit", new { id=item.Code }) 
            @Html.ActionLink("详细", "Details", new { id=item.Code }) 
            @Html.ActionLink("删除", "Delete", new { id=item.Code })
        </td>
    </tr>
}

</table>
</div>